object fmWarehouseAnalyse: TfmWarehouseAnalyse
  Left = 0
  Top = 0
  Caption = #20179#24211#24211#23384#32479#35745#34920
  ClientHeight = 544
  ClientWidth = 779
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  FormStyle = fsMDIChild
  OldCreateOrder = False
  Position = poScreenCenter
  Visible = True
  WindowState = wsMaximized
  OnClose = FormClose
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 13
  object lblBrowser: TLabel
    Left = 0
    Top = 35
    Width = 779
    Height = 25
    Align = alTop
    Alignment = taCenter
    AutoSize = False
    Color = 12937777
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWhite
    Font.Height = -13
    Font.Name = 'Tahoma'
    Font.Style = [fsBold]
    ParentColor = False
    ParentFont = False
    Layout = tlCenter
    Visible = False
    ExplicitLeft = 10
    ExplicitTop = -6
  end
  object pivotgrdMain: TcxDBPivotGrid
    Left = 0
    Top = 60
    Width = 779
    Height = 484
    Align = alClient
    DataSource = dsQty
    Groups = <
      item
        IsCaptionAssigned = True
        Caption = 'FieldGroup 1'
      end>
    OptionsView.ColumnGrandTotalText = #21487#29992#24211#23384
    OptionsView.GrandTotalWidth = 21
    TabOrder = 0
    object pgfQty: TcxDBPivotGridField
      Area = faData
      AreaIndex = 0
      AllowedAreas = [faData]
      IsCaptionAssigned = True
      Caption = #25968#37327
      DataBinding.FieldName = 'qty'
      DisplayFormat = '0'
      Options.Filtering = False
      Visible = True
      Width = 60
    end
    object pgfInOut: TcxDBPivotGridField
      Area = faColumn
      AreaIndex = 1
      AllowedAreas = [faColumn]
      IsCaptionAssigned = True
      Caption = #20986#20837#24211
      DataBinding.FieldName = 'type'
      SortOrder = soDescending
      Visible = True
    end
    object pgfProductno: TcxDBPivotGridField
      Area = faRow
      AreaIndex = 0
      AllowedAreas = [faRow]
      IsCaptionAssigned = True
      Caption = #20869#37096#32534#21495
      DataBinding.FieldName = 'productno'
      GroupIndex = 0
      Visible = True
    end
    object pgfProductRealno: TcxDBPivotGridField
      Area = faRow
      AreaIndex = 2
      AllowedAreas = [faRow]
      IsCaptionAssigned = True
      Caption = #20135#21697#22411#21495
      DataBinding.FieldName = 'productrealno'
      GroupIndex = 0
      Visible = True
    end
    object pgfAmt: TcxDBPivotGridField
      Area = faData
      AreaIndex = 1
      AllowedAreas = [faData]
      IsCaptionAssigned = True
      Caption = #37329#39069'(RMB)'
      DataBinding.FieldName = 'amt'
      Options.Filtering = False
      PropertiesClassName = 'TcxCurrencyEditProperties'
      Properties.DisplayFormat = #65509',0.00;'#65509'-,0.00'
      Visible = True
      Width = 90
    end
    object pgfDate: TcxDBPivotGridField
      Area = faColumn
      AreaIndex = 2
      AllowedAreas = [faColumn]
      IsCaptionAssigned = True
      Caption = #26085#26399
      DataBinding.FieldName = 'cdate'
      Visible = True
    end
    object pgfActual: TcxDBPivotGridField
      Area = faColumn
      AreaIndex = 0
      AllowedAreas = [faColumn]
      IsCaptionAssigned = True
      Caption = #23454#38469#24211#23384
      DataBinding.FieldName = 'type2'
      Visible = True
    end
    object pgfProductName: TcxDBPivotGridField
      Area = faRow
      AreaIndex = 3
      IsCaptionAssigned = True
      Caption = #20135#21697#21517#31216
      DataBinding.FieldName = 'productname'
      GroupIndex = 0
      GroupExpanded = False
      Visible = True
    end
    object pgfProductClass: TcxDBPivotGridField
      Area = faRow
      AreaIndex = 1
      IsCaptionAssigned = True
      Caption = #20135#21697#31867#21035
      DataBinding.FieldName = 'productclass'
      GroupIndex = 0
      Visible = True
    end
  end
  object Panel1: TPanel
    Left = 0
    Top = 0
    Width = 779
    Height = 35
    Align = alTop
    BevelOuter = bvNone
    TabOrder = 1
    object cbxWarehouse: TcxComboBox
      Left = 42
      Top = 7
      TabOrder = 0
      Width = 121
    end
    object btnSearch: TcxButton
      Left = 493
      Top = 9
      Width = 70
      Height = 20
      Caption = #26597#35810
      TabOrder = 1
      OnClick = btnSearchClick
    end
    object cxLabel1: TcxLabel
      Left = 8
      Top = 8
      Caption = #20179#24211
    end
    object cbxYear: TcxComboBox
      Left = 218
      Top = 8
      Properties.DropDownListStyle = lsFixedList
      TabOrder = 3
      Width = 92
    end
    object cxLabel2: TcxLabel
      Left = 181
      Top = 9
      Caption = #24180#20221
    end
    object cbxMonth: TcxComboBox
      Left = 365
      Top = 8
      Properties.DropDownListStyle = lsFixedList
      Properties.Items.Strings = (
        '1'
        '2'
        '3'
        '4'
        '5'
        '6'
        '7'
        '8'
        '9'
        '10'
        '11'
        '12')
      TabOrder = 5
      Width = 92
    end
    object cxLabel3: TcxLabel
      Left = 328
      Top = 9
      Caption = #26376#20221
    end
    object btnExport: TcxButton
      Left = 569
      Top = 9
      Width = 70
      Height = 20
      Caption = #23548#20986
      TabOrder = 7
      OnClick = btnExportClick
    end
  end
  object tblQty: TDAMemDataTable
    RemoteUpdatesOptions = []
    Fields = <>
    Params = <>
    StreamingOptions = [soDisableEventsWhileStreaming]
    RemoteDataAdapter = rdaAnalyse
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'd_warehouseitem'
    IndexDefs = <>
    Left = 332
    Top = 256
  end
  object dsQty: TDADataSource
    DataSet = tblQty.Dataset
    DataTable = tblQty
    Left = 364
    Top = 256
  end
  object rdaAnalyse: TDARemoteDataAdapter
    GetSchemaCall.RemoteService = ClientDataModule.RemoteService
    GetDataCall.RemoteService = ClientDataModule.RemoteService
    GetDataCall.MethodName = 'SQLGetData'
    GetDataCall.Params = <
      item
        Name = 'Result'
        DataType = rtBinary
        Flag = fResult
        Value = Null
      end
      item
        Name = 'aSQLText'
        DataType = rtString
        Flag = fIn
        Value = Null
      end
      item
        Name = 'aIncludeSchema'
        DataType = rtBoolean
        Flag = fIn
        Value = Null
      end
      item
        Name = 'aMaxRecords'
        DataType = rtInteger
        Flag = fIn
        Value = Null
      end>
    GetDataCall.Default = False
    GetDataCall.OutgoingTableNamesParameter = 'aTableNameArray'
    GetDataCall.OutgoingTableRequestInfosParameter = 'aTableRequestInfoArray'
    GetDataCall.IncomingDataParameter = 'Result'
    GetDataCall.OutgoingIncludeSchemaParameter = 'aIncludeSchema'
    GetDataCall.OutgoingMaxRecordsParameter = 'aMaxRecords'
    UpdateDataCall.RemoteService = ClientDataModule.RemoteService
    GetScriptsCall.RemoteService = ClientDataModule.RemoteService
    RemoteService = ClientDataModule.RemoteService
    DataStreamer = ClientDataModule.DataStreamer
    Left = 396
    Top = 256
  end
  object sdlgExport: TRzSaveDialog
    Filter = '*.xls|*.xls'
    Left = 396
    Top = 160
  end
end
